package com.ruoyi.qizhong.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 期中测试对象 qizhong_test
 *
 * @author ruoyi
 * @date 2024-08-06
 */
public class QizhongTest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 演唱会名字 */
    @Excel(name = "演唱会名字")
    private String name;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 售票时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "售票时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date times;

    /** 前排价格 */
    @Excel(name = "前排价格")
    private Long qianPrice;

    /** 中排价格 */
    @Excel(name = "中排价格")
    private Long zhongPrice;

    /** 后排价格 */
    @Excel(name = "后排价格")
    private Long houPrice;

    /** 库存 */
    @Excel(name = "库存")
    private Long kucun;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Long isdel;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }
    public void setTimes(Date times)
    {
        this.times = times;
    }

    public Date getTimes()
    {
        return times;
    }
    public void setQianPrice(Long qianPrice)
    {
        this.qianPrice = qianPrice;
    }

    public Long getQianPrice()
    {
        return qianPrice;
    }
    public void setZhongPrice(Long zhongPrice)
    {
        this.zhongPrice = zhongPrice;
    }

    public Long getZhongPrice()
    {
        return zhongPrice;
    }
    public void setHouPrice(Long houPrice)
    {
        this.houPrice = houPrice;
    }

    public Long getHouPrice()
    {
        return houPrice;
    }
    public void setKucun(Long kucun)
    {
        this.kucun = kucun;
    }

    public Long getKucun()
    {
        return kucun;
    }
    public void setIsdel(Long isdel)
    {
        this.isdel = isdel;
    }

    public Long getIsdel()
    {
        return isdel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("city", getCity())
            .append("times", getTimes())
            .append("qianPrice", getQianPrice())
            .append("zhongPrice", getZhongPrice())
            .append("houPrice", getHouPrice())
            .append("kucun", getKucun())
            .append("isdel", getIsdel())
            .toString();
    }
}
